package com.eds.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.web.multipart.MultipartFile;

import java.math.BigDecimal;
import java.util.List;

/**
 * Created with IntelliJ IDEA.
 *
 * @ClassName：CourCreateRequest
 * @Author: vvSmile
 * @Date: 2025/03/22
 * @Description: 必须描述类做什么事情, 实现什么功能
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class CourCreateRequest {
    private String title;
    private Long courseId;
    private Integer categoryId;
    private BigDecimal price;
    private String description;
    private MultipartFile titleImg;
    private List<MultipartFile> contentImgs;


    // 教师可用时间列表
    private String availabilities;  // JSON字符串，前端将List<TeacherAvailabilityDTO>转为JSON传递

    // 课程安排列表
    private String schedules;      // JSON字符串，前端将List<TeacherScheduleDTO>转为JSON传递
}

